package com.zhanhong.opencvdemo.utils;

import com.zhanhong.opencvdemo.core.Core;

public class ScreenUtils {

    public static int getScreenHeight(){
      return  Core.getApplicationContext().getResources().getDisplayMetrics().heightPixels;
    }

    public static int getScreenWidth(){
        return  Core.getApplicationContext().getResources().getDisplayMetrics().widthPixels;
    }

}
